package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.pojo.FollowUser;
import com.ruoyi.service.FollowUserService;
import com.ruoyi.mapper.FollowUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author xlz
* @description 针对表【follow_user】的数据库操作Service实现
* @createDate 2023-07-21 14:07:47
*/
@Service
public class FollowUserServiceImpl extends ServiceImpl<FollowUserMapper, FollowUser>
    implements FollowUserService{

    @Autowired
    private FollowUserMapper followUserMapper;

    @Override
    public int addFollow(FollowUser user) {
        int insert = followUserMapper.insert(user);
        return insert;
    }
}




